package com.yeyks.commonReference.pojo.param;

import com.yeyks.common.param.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 分页查询运营商，服务商的信息接口
 * @author: dagny
 * @date: 2019/8/27 0027 15:44
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "分页输入参数")
@Data
public class QueryBusinessParam extends PageParam implements Serializable {
    private static final long serialVersionUID = -328802496397366138L;

    @ApiModelProperty(value = "账号类型 10;运营商 12;卡商; 20小v运营商，22小v卡商", allowableValues = "10,12,20,22")
    @NotNull(message = "账号类型不能为空")
    private Integer type;

    @ApiModelProperty("运营商、卡商名称")
    private String name;

    @ApiModelProperty("管理员名称（登录账户名称）")
    private String username;
}
